<?php
$content->assign("showBlogCommentsUrl", Utils::generateSEOUrl($lang, "blogcomments", "get"));

$entryId = $_GET["id"];
$content->assign("entryId", $entryId);

$entryTitle = "-";
$query = "SELECT title FROM blogEntries WHERE id = '$entryId'";
if ($res1 = $db->runQuery($query)) {
	if ($db->getRowcount($res1)) {
		$row1 = $db->getRow($res1);
		$entryTitle = utf8_encode($row1["title"]);
	}
}
$content->assign("entryTitle", $entryTitle);

$contentOptions = array(
	0 => array(
		"text" => "Volver",
		"link" => Utils::generateSEOUrl($lang, "blogentries"),
		"icon" => IMAGES_URL."icons/small/white/Home.png"
	)
);
$content->assign("contentOptions", $contentOptions);
?>
